//package com.zmn.plat.dubbo.impl.key;
//
//import javax.annotation.Resource;
//
//import org.apache.dubbo.config.annotation.Service;
//import org.springframework.cache.annotation.CacheConfig;
//
//import com.zmn.plat.dubbo.interfaces.key.BaseKeyRemoteService;
//import com.zmn.plat.dubbo.utils.DubboConsts;
//import com.zmn.plat.services.interfaces.key.KeyService;
//
///**
// * @author nowind
// * @since 2018/8/24 17:11
// */
//@Service(loadbalance = "roundrobin", timeout = 5000, retries = -1, version = DubboConsts.INTERFACE_VERSION, validation = "true")
//@CacheConfig(cacheNames = "redis1h")
//public class BaseKeyRemoteServiceImpl implements BaseKeyRemoteService {
//
//    @Resource
//    private KeyService keyService;
//
//    @Override
//    public String getOneRandomKey(Integer type) {
//        return keyService.findOneRandomKey(type);
//    }
//}
